package com.创建型模型.C构建者模式.黑马demo;

/**
 * @author zhangjiawen
 * @Date: 2022/6/13 9:41
 */
public class Test {

    public static void main(String[] args) {
        Phone phone=new Phone.Builder()
                .cpu("锐龙")
                .dist("西部数码")
                .memory("三星")
                .screen("三星")
                .build();
        System.out.println(phone.toString());

    }





}
